package com.wufeng.service;

import com.wufeng.dto.RichEvaluationDto;
import com.wufeng.entity.Evaluate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Hxh
* @description 针对表【evaluate(心理测评表)】的数据库操作Service
* @createDate 2024-01-14 23:39:19
*/
public interface EvaluateService extends IService<Evaluate> {

    boolean addEvaCount(Integer evaluateId,Integer userId);

    Integer saveEvaluate(Evaluate evaluate);

    void saveRichEvaluate(RichEvaluationDto richEvaluationDto);


    List<Evaluate> getEvaluationByCondition(String title, Integer type, Integer pageIndex, Integer pageSize);

    Integer countEvaluationByCondition(String title, Integer type);
}
